-- GENERATED SPELL FOR [Moonrage Tailor] --


function spell0_3531(pUnit, Event) --@Expose Weakness,n/a--
pUnit:FullCastSpellOnTarget(7140,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3531', 5000, 1)
end

function Sorts_3531(pUnit, Event)
local choix_sorts_3531 = math.random(0, 0)
if choix_sorts_3531 == 0 then
pUnit:RegisterEvent('spell0_3531', 1, 1)
end
end

function mob3531_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3531', math.random(1500, 3000), 1)
end

function mob3531_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3531_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3531_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3531, 1, 'mob3531_Action')
RegisterUnitEvent(3531, 2, 'mob3531_Leave')
RegisterUnitEvent(3531, 3, 'mob3531_Kill')
RegisterUnitEvent(3531, 4, 'mob3531_Die')
